<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>C++ Web Framework: FilterChain Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">C++ Web Framework
   &#160;<span id="projectnumber">3.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_filter_chain-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">FilterChain Class Reference<span class="mlabels"><span class="mlabel">final</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="class_filter_chain.html" title="The FilterChain class is responsable to dispatch a requisition. This class was built to work with Fil...">FilterChain</a> class is responsable to dispatch a requisition. This class was built to work with <a class="el" href="class_filter.html" title="The Filter class works like a filter. You can use this class to validate sessions or measuring runtim...">Filter</a>. Always when a <a class="el" href="class_filter.html" title="The Filter class works like a filter. You can use this class to validate sessions or measuring runtim...">Filter</a> makes all the necessary validations, it can dispatches the requisition to the <a class="el" href="class_filter_chain.html" title="The FilterChain class is responsable to dispatch a requisition. This class was built to work with Fil...">FilterChain</a>. NOTE: It is a final class, you can't derive from it.  
 <a href="class_filter_chain.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="filterchain_8h_source.html">filterchain.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9d506944c4a8d387aae3c7b0aa7c6ac7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_filter_chain.html#a9d506944c4a8d387aae3c7b0aa7c6ac7">FilterChain</a> (<a class="el" href="class_controller.html">Controller</a> *controller, const <a class="el" href="class_configuration.html">Configuration</a> &amp;configuration)</td></tr>
<tr class="memdesc:a9d506944c4a8d387aae3c7b0aa7c6ac7"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_filter_chain.html" title="The FilterChain class is responsable to dispatch a requisition. This class was built to work with Fil...">FilterChain</a>.  <a href="#a9d506944c4a8d387aae3c7b0aa7c6ac7">More...</a><br /></td></tr>
<tr class="separator:a9d506944c4a8d387aae3c7b0aa7c6ac7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a873d7d3362388c2b7f2e958e8971be94"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_filter_chain.html#a873d7d3362388c2b7f2e958e8971be94">doFilter</a> (CWF::Request &amp;request, CWF::Response &amp;response)</td></tr>
<tr class="memdesc:a873d7d3362388c2b7f2e958e8971be94"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method dispaches a requisition to a <a class="el" href="class_request.html" title="The Request class holds all information about a http request. ">Request</a> or, if the requesition is for a file, it can reads and send the file through the <a class="el" href="class_response.html" title="The Response class is responsable to response a Http request. ">Response</a>.  <a href="#a873d7d3362388c2b7f2e958e8971be94">More...</a><br /></td></tr>
<tr class="separator:a873d7d3362388c2b7f2e958e8971be94"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="class_filter_chain.html" title="The FilterChain class is responsable to dispatch a requisition. This class was built to work with Fil...">FilterChain</a> class is responsable to dispatch a requisition. This class was built to work with <a class="el" href="class_filter.html" title="The Filter class works like a filter. You can use this class to validate sessions or measuring runtim...">Filter</a>. Always when a <a class="el" href="class_filter.html" title="The Filter class works like a filter. You can use this class to validate sessions or measuring runtim...">Filter</a> makes all the necessary validations, it can dispatches the requisition to the <a class="el" href="class_filter_chain.html" title="The FilterChain class is responsable to dispatch a requisition. This class was built to work with Fil...">FilterChain</a>. NOTE: It is a final class, you can't derive from it. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a9d506944c4a8d387aae3c7b0aa7c6ac7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d506944c4a8d387aae3c7b0aa7c6ac7">&#9670;&nbsp;</a></span>FilterChain()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CWF_BEGIN_NAMESPACE FilterChain::FilterChain </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_controller.html">Controller</a> *&#160;</td>
          <td class="paramname"><em>controller</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_configuration.html">Configuration</a> &amp;&#160;</td>
          <td class="paramname"><em>configuration</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="class_filter_chain.html" title="The FilterChain class is responsable to dispatch a requisition. This class was built to work with Fil...">FilterChain</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">controller</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a873d7d3362388c2b7f2e958e8971be94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a873d7d3362388c2b7f2e958e8971be94">&#9670;&nbsp;</a></span>doFilter()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FilterChain::doFilter </td>
          <td>(</td>
          <td class="paramtype">CWF::Request &amp;&#160;</td>
          <td class="paramname"><em>request</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">CWF::Response &amp;&#160;</td>
          <td class="paramname"><em>response</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This method dispaches a requisition to a <a class="el" href="class_request.html" title="The Request class holds all information about a http request. ">Request</a> or, if the requesition is for a file, it can reads and send the file through the <a class="el" href="class_response.html" title="The Response class is responsable to response a Http request. ">Response</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">request</td><td>: This is a reference to the <a class="el" href="class_request.html" title="The Request class holds all information about a http request. ">Request</a>. </td></tr>
    <tr><td class="paramname">response</td><td>: This is a reference to the <a class="el" href="class_response.html" title="The Response class is responsable to response a Http request. ">Response</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/herik/CPPWebFramework/CPPWebFramework/cwf/<a class="el" href="filterchain_8h_source.html">filterchain.h</a></li>
<li>/home/herik/CPPWebFramework/CPPWebFramework/cwf/filterchain.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon May 28 2018 11:09:09 for C++ Web Framework by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
